package com.lovo.order.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;

@Data
@AllArgsConstructor
@NoArgsConstructor

public class OrderDto {

    private String userName;
    private String orderNumber;//订单编号，商品名+日期秒+随机数
    @Column(length = 128)
    private String goodsNames;//商品名集合
    private float priceSum;//订单总价格
    @Column(length = 48)
    private String orderData;//订单日期
}
